﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Attr;
using WCS.Service.EFCore;

namespace WCS.Infrastructure.IOC
{
    [Provider, Inject]
    public class DividedIOC
    {
        public readonly SysUserEFCore _sysUserEFCore;
        public readonly SysRoleEFCore _sysRoleEFCore;
        public readonly SysUserRoleEFCore _sysUserRoleEFCore;

        public readonly MerchantEFCore _merchantEFCore;
        public readonly StoreEFCore _storeEFCore;

        public readonly PaymentCodeEFCore _paymentCodeEFCore;
        public readonly DividedAgreementEFCore _dividedAgreementEFCore;
        public readonly DividedAgreementDetailEFCore _dividedAgreementDetailEFCore;
        public readonly DividedRecordEFCore _dividedRecordEFCore;
        public readonly DividedRecordDetailEFCore _dividedRecordDetailEFCore;

        public readonly OrderEFCore _orderEFCore;
        public DividedIOC(SysUserEFCore sysUserEFCore, SysRoleEFCore sysRoleEFCore, SysUserRoleEFCore sysUserRoleEFCore,
            MerchantEFCore merchantEFCore, StoreEFCore storeEFCore,PaymentCodeEFCore paymentCodeEFCore,
            DividedAgreementEFCore dividedAgreementEFCore, DividedAgreementDetailEFCore dividedAgreementDetailEFCore,
            DividedRecordEFCore dividedRecordEFCore, DividedRecordDetailEFCore dividedRecordDetailEFCore,
            OrderEFCore orderEFCore)
        {
            _sysUserEFCore = sysUserEFCore;
            _sysRoleEFCore = sysRoleEFCore;
            _sysUserRoleEFCore = sysUserRoleEFCore;
            _merchantEFCore = merchantEFCore;
            _storeEFCore = storeEFCore;
            _paymentCodeEFCore = paymentCodeEFCore;
            _dividedAgreementEFCore = dividedAgreementEFCore;
            _dividedAgreementDetailEFCore = dividedAgreementDetailEFCore;
            _dividedRecordEFCore = dividedRecordEFCore;
            _dividedRecordDetailEFCore = dividedRecordDetailEFCore;
            _orderEFCore = orderEFCore;
        }
    }
}
